<?php
$this->load->helper('form');

$attributes = array('id' => 'loginForm',
    'style' => 'position: absolute; top: 10%; left: 5%;');
echo form_open('login/validate',$attributes);
$data = array('name' => 'username',
    'id' => 'username',
    'size' => '16');
echo form_input($data);
$data = array('name' => 'password',
    'id' => 'password',
    'size' => '16');
echo form_password($data);
echo form_submit('submitLogin','Login');
echo form_reset('resetLogin','Reset');
echo anchor('login/signup', 'Create Account');
echo form_close();
?>